import request from "@/utils/request";

// 获取首页
export const getErrandListAPI = (data) => {
  return request({
    url:`/ErrandService/errand`,
    method:'GET',
    data
  })
}
export const postErrandApi = (data) => {
  return request({
    url:`/ErrandService/errand`,
    method:'POST',
    data
  })
}

